from google.appengine.ext import db

class Users(db.Model):
    fb_id = db.IntegerProperty()
    lastfm_id = db.StringProperty()
    artist_ids = db.StringListProperty()
    notifications = db.StringListProperty()
    event_ids = db.StringListProperty()

    
class Events(db.Model):
    lastfm_id = db.StringProperty()
    title = db.StringProperty()
    venue_id = db.StringProperty()
    artist_ids = db.StringListProperty()
    main_artist = db.StringProperty()
    start_date = db.DateTimeProperty()
    
    
class Artists(db.Model):
    event_ids = db.StringListProperty()
    name = db.StringProperty()
    img = db.StringProperty()
    
    
class Venues(db.Model):
    lastfm_id = db.StringProperty()
    name = db.StringProperty()
    
    
class Trackers(db.Model):
    event_id = db.StringProperty()
    section_name = db.StringProperty()
    section_id = db.StringProperty()
    min_prices = db.StringListProperty()
    dates = db.StringListProperty()
    